package com.cn.oop;

/**
 * @author: chenyuncong
 * @Date: 2020/6/24 12:07
 */
public class TestSyn {
    private static Student s = new Student();

    public static void main(String[] args) {
        System.out.println("start");
        synchronized (s){
            System.out.println("lock");
        }
        System.out.println("end");
    }
}
